import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

Vue.config.productionTip = false
import router from "@/router";
//引入仓库
import store from "@/store";
//导入日志处理库
import moment from "moment";
import {loginByPassword} from "@/api/user";
moment.locale('zh-cn');
Vue.prototype.$moment = moment;
console.log(process.env);
//测试一下接口
// const loginData = {
//   "userName":"陈籽健",
//   "loginPwd":"123456"
// }
// console.log(loginByPassword(loginData))
document.title = "12组电子账务系统"
new Vue({
  render: h => h(App),
  //注册路由
  router,
  //注册仓库
  store
}).$mount('#app')
